home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
wb
/
backclock
/
sources
/
control.c
< prev
next >
Wrap
Text File
|
1999-06-15
|
311b
|
12 lines
void waitSynchro()
printf("Attente synchro\n") ;
ITRead(&sync, sizeof(struct trameSync)) ;
printf("Synchro\t\t:$%lx\n", sync.sync) ;
printf("TailleComm\t:$%lx\n", sync.tailleTCom) ;
sendACK() ;
}
void sendACK() {
printf("Envoi ACK\n") ;
ack.ack=0x41434b24;
ITWrite(&ack, sizeof(struct TAck)) ;
}